<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.anhry.app.safety.util.Util"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>上报列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript">
		function doFun(id){
			document.form1.bgdId.value=id;
			document.form1.action='<%=basePath%>/zczb/zc_yhFrame.action';
			document.form1.submit();
		}
	</script>
  </head>
  
  <body>
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：自查自报 &gt; 规模企业上报管理 &gt; 上报列表 &gt; 记录单列表
			</div>
		</div>
		<div id="container">
		  	<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		   		<thead>
			    	<tr class="fixedHeaderTr">
			     		<th width="10%">序号</th>
			     		<th width="15%">次数</th>
			     		<th width="10%">自查时间</th>
			     		<th width="10%">负责人</th>
			     		<th width="10%">自查总项</th>
			     		<th width="10%">一般隐患</th>
			     		<th width="10%">重大隐患</th>
			     		<th width="10%">未处理隐患</th>
			     		<th width="15%">操作</th>
			    	</tr>
		   		</thead>
			   	<tbody>
			   		<s:if test="%{objList.size>0}">
			   			<s:iterator value="objList" id="obj" status="x">
				   			<tr>
					     		<td align="center">${x.index+1}</td>
					     		<td align="center">${obj.bgdMonth }月第${obj.bgdNum }次</td>
					     		<td align="center"><s:date name="#obj.bgdSaveTime" format="yyyy-MM-dd"/> </td>
					     		<td align="center">${obj.bgdPersonnel }</td>
					     		<td align="center">${obj.bgdItemNum }</td>
					     		<td align="center"><font color="red">${obj.bgdSameNum }</font></td>
					     		<td align="center"><font color="red">${obj.bgdBigNum }</font></td>
					     		<td align="center"><font color="red">${obj.bgdWclNum }</font></td>
					     		<td align="center">
					     			<a href="javascript:void(0);" onclick="doFun('${obj.id }');" title="查看隐患详细信息">查看</a>
					     		</td>
					    	</tr>
			   			</s:iterator>
			    	</s:if>
			    	<s:else>
				    	<tr>
				     		<td align="center" colspan="9">无自查记录数据</td>
				    	</tr>
			    	</s:else>
			    	<tr>
			     		<td align="center" colspan="9">
			     			<input type="button" name="btn1" class="link_input" id="btnset1" value="返 回" onclick="window.location.href='<%=basePath%>/zczb/zc_list.action?${urls }&num=${num }&size=${size }'">
			     		</td>
			    	</tr>
			   	</tbody>
		  	</table>
	 	</div>
	</div>
	<form action="<%=basePath %>/zczb/zc_list.action?search=1" name="form1" method="post">
		<input type="hidden" name="bgdId" value="">
		<input type="hidden" name="hzdId" value="${hzdId }">
		<input type="hidden" name="urls" value="${urls }">
		<input type="hidden" name="num" value="${page.num }">
		<input type="hidden" name="size" value="${page.size }">
	</form>
  </body>
</html>
